//
//  PopupView.h
//  PurchasingMeeting
//
//  Created by zhuang yihang on 7/20/13.
//  Copyright (c) 2013 YX. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PopupView;
@protocol PopupViewDelegate <NSObject>

- (void)popupViewClicked:(PopupView *)popup atIndex:(int)clickedIndex;

@end

@interface PopupView : UIView{
    id<PopupViewDelegate> delegate_;
    int btntag;
}

@property (nonatomic, strong) id<PopupViewDelegate> delegate;

-(id)initWithFrame:(CGRect)frame withItems:(NSMutableArray *)itmes withHighlight:(int)highlight width:(int)width tag:(int)tag;

@end
